package org.xinhe.example.quartz.management.common;

import java.util.List;

/**
 * <p>Title: PageWrapper</p>
 * <p>Date: 17/1/10 </p>
 * <p>Description: </p>
 *
 * @author xinhe.sun
 */
public class PageWrapper<T> {

    private long total;

    private List<T> rows;

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    @Override
    public String toString() {
        return "PageWrapper{" +
                "total=" + total +
                ", rows=" + rows +
                '}';
    }
}
